<template>
    <div id="app">
        <div class="con">
            <div class="centerbox">
                <img src="@/assets/image/notpage.png" alt="">
                <h3>您访问的页面不存在</h3>
                <button type="primary" @click="jumpUp">返回上层</button>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    methods: {
        jumpUp() {
            this.$router.go(-1)
        }
    }
}
</script>

<style scoped>
#app {
    min-width: 1200px;
    background: #F2F2F2;
    height: 100vh;
}

.con {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.centerbox {
    width: 306px;
    height: 306px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

img {
    width: 80px;
    height: 80px;
}

h3 {
    font-size: 34px;
    color: #000000A6;
    font-weight: normal;
}

button {
    width: 300px;
    height: 45px;
    background-color: #0d5fcd;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background-color: #3590d5;
}

/* 媒体查询，针对手机设备 */
@media (max-width: 768px) {
    #app {
        min-width: auto !important;
    }
	.con{
        width: 375px;
    }
    img{
        width: 50px;
        height: 50px;
    }
    h3 {
        width: 100%;
        font-size: 24px;
        text-align: center;
    }
    .centerbox{
        width: 306px;
        height: 260px;
    }
}
</style>